ATSUDisposeMemorySetting

Disposes of a memory setting.

OSStatus ATSUDisposeMemorySetting (
                     ATSUMemorySetting iMemorySetting);
iMemorySetting
A reference of type ATSUMemorySetting. Pass a reference to the memory setting that you want to dispose of. If you dispose of the current memory setting, ATSUI will use the current heap and its own callback functions to perform memory allocation operations.

function result
A result code. See Result Codes.
DISCUSSION
Before you dispose of a memory setting, you should dispose of the memory associated with style and text layout objects that were allocated using that memory setting. For example, if you want to dispose of a memory setting that uses your application-defined callback functions to allocate memory, you should dispose of any memory that ATSUI allocated as a result of these callbacks before disposing of the setting.

VERSION NOTES
Available beginning with ATSUI 1.1.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)